package com.multidisplay.po;

import lombok.Data;

import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import java.util.ListIterator;

@Data
public class WebPage {
    private String id;

    private String text;    //页面文本

    private String pageId;  //页面id

    private String pid;     //页面父id

    private int order;

    private String flag;    //页面标识符

    private String title;   //页面标题

    private String content;

    private String layoutId;   //关联的页面布局id

    private String backgroundImageId;  //关联的背景图片id（这里的id采取了图片的url

    private String navBarsId;  //关联的导航栏id

    private String resolution;  //分辨率

    private String accessoryId;     //附件id

    public String[] toStringList() {
        String info =
                "id='" + id +
                ", text='" + text +
                ", pageId='" + pageId +
                ", pid='" + pid +
                ", order=" + order +
                ", flag='" + flag +
                ", title='" + title +
                ", content='" + content +
                ", layoutId='" + layoutId +
                ", backgroundImageId='" + backgroundImageId +
                ", navBarsId='" + navBarsId +
                ", resolution='" + resolution +
                ", accessoryId='" + accessoryId;
        String[] infolist =  info.split(",");
        return infolist;
    }
}
